package com.qdrtme.landemo.newcms;

import android.content.Context;

import com.qdrtme.landemo.BaseApi;

import org.json.JSONException;

import java.util.HashMap;

/**
 * @Created by taylor on 12/14/17.
 * @class 我的爆料列表
 */

public class GetMyTipoffListApi extends BaseApi {

    private String page;
    private String rows;
    private String userId;


    public GetMyTipoffListApi(Context c) {
        super(c);
    }

    @Override
    protected String getURL() {
        return BaseApi.GET_MY_TIPOFF_LIST;
    }

    @Override
    protected void getParams(HashMap<String, Object> params) {
        super.getParams(params);
        params.put("page", page);
        params.put("rows", rows);
        params.put("userId", userId);
    }

    @Override
    protected boolean analysisOutput(String result) throws JSONException {
        return true;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public void setRows(String rows) {
        this.rows = rows;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
